//
//  WCNewTargetWindowController.h
//  WabbitCode
//
//  Created by William Towe on 1/20/09.
//  Copyright 2009 Revolution Software. All rights reserved.
//

#import <Cocoa/Cocoa.h>


extern NSString *kWCNewTargetTemplateInfoShortDescriptionKey;
extern NSString *kWCNewTargetTemplateInfoLongDescriptionKey;
extern NSString *kWCNewTargetTemplateInfoTargetModelKey;
extern NSString *kWCNewTargetTemplateInfoTargetOutputKey;
extern NSString *kWCNewTargetTemplateInfoIconNameKey;
extern NSString *kWCNewTargetTemplateInfoIncludeFilesKey;

@class WCProject,WCLinkedView;

@interface WCNewTargetWindowController : NSWindowController {
	IBOutlet NSOutlineView *_outlineView;
	IBOutlet NSArrayController *_arrayController;
	IBOutlet NSImageView *_leftSplitterHandleImageView;
	IBOutlet NSView *_gradientBarView;
	IBOutlet WCLinkedView *_firstView;
	IBOutlet WCLinkedView *_currentView;
	IBOutlet NSPopUpButton *_addToProjectPopUpButton;
	IBOutlet NSView *_swapView;
	IBOutlet NSTextField *_targetNameTextField;
	IBOutlet NSCollectionView *_collectionView;
	
	NSMutableArray *_newTargetCategories;
	NSString *_newTargetName;
	BOOL _hasPerformedSetupForTheFirstTime;
}
@property (readonly) NSView *swapView;
@property (readwrite, assign) WCLinkedView *currentView;
@property (readonly) WCProject *selectedProject;
@property (readonly) NSMutableArray *newTargetCategories;
@property (readwrite, copy) NSString *newTargetName;

+ (WCNewTargetWindowController *)sharedInstance;

- (void)presentNewTargetWindow;

- (IBAction)nextAction:(id)sender;
- (IBAction)previousAction:(id)sender;
@end
